package cn.angis.quartz.dtomapper;

import cn.angis.quartz.dto.input.JoblogInput;
import cn.angis.quartz.dto.output.JoblogOutput;
import cn.angis.quartz.model.Joblog;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 定时任务调度日志表转换类
* @author angis.cn
* @Date 2025-06-04
*/
@Mapper
public interface JoblogStruct {
    JoblogStruct INSTANCE = Mappers.getMapper(JoblogStruct.class);
    Joblog toJoblog(JoblogInput joblogInput);
    JoblogOutput toOutput(Joblog joblog);
    List<JoblogOutput> toOutputList(List<Joblog> joblogList);
}
